package com.baiku.sanhos.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
@Lazy //懒汉式加载 调用才创建对象
@Component
@Data
@TableName(value = "t_dept")
public class Dept {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String deptName;
    private String deptRemark;
    private Integer level;
}
